<div class="sidebar-nav nav-collapse collapse">
  <div class="user_side clearfix">
    <img src="__STATIC__/assets/img/odinn.jpg" alt="Odinn god of Thunder">
  <h5>{$Think.session.realname}</h5>
    <a href="#"><i class="icon-cog"></i> Settings</a>        
  </div>
  <div class="accordion" id="accordion2">

    <!-- {if condition="$Think.session.rid==1 or $Think.session.rid==3"}
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_F79999" href="{:url('net/index')}"><i class="icon-dashboard"></i> <span>网络报修</span></a>
      </div>
    </div>
    {/if}

    {if condition="$Think.session.rid==2 or $Think.session.rid==3"}
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_F6F1A2" href="{:url('room/index')}"><i class="icon-tasks"></i> <span>物业保修</span></a>
      </div>
    </div>
    {/if} -->

    {if condition="$Think.session.rid==3"}
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_C1F8A9" href="{:url('suggest/index')}"><i class="icon-bar-chart"></i> <span>投诉建议</span></a>
      </div>
    </div>
    {/if}

    {if condition="$Think.session.rid==4"}
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_9FDDF6" href="{:url('role/index')}"><i class="icon-bullhorn"></i> <span>角色管理</span></a>
      </div>
    </div>

    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_F5C294 active" href="{:url('user/userlist')}"><i class="icon-user"></i> <span>用户管理</span></a>
      </div>
    </div>
    {/if}
    
  </div>
</div>